package com.hornsun.jwt;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.jsonwebtoken.Claims;

/**
 * Raw representation of JWT Token.
 *
 * @author cwc
 */
public final class AccessJwtToken extends RawAccessJwtToken {
    @JsonIgnore
    private Claims claims;

    public AccessJwtToken(String token, Claims claims) {
        super(token);
        this.claims = claims;
    }

    public Claims getClaims() {
        return claims;
    }
}
